
 The file PROC32.inc is the modifyed version that create procedures stack frame
 using the ENTER instruction.

 The FASMW executable was assembled using the PROC32 with enter instruction
 If you disassemble the FASMW executable you will find the ENTER instructions
 on top of every internal PROCs.

 You should replace the original one (INCLUDES\MACRO\PROC32.inc) with this and
 assemble a test file to check how it works.


 EXAMPLE 1: ORIGINAL

 Proc TESTING param_1,param_2,param_3		TESTING: push ebp
      mov eax,[param_1]					 mov ebp,esp
      mov ebx,[param_2]				         mov eax,[ebp+8h]
      mov ecx,[param_3]				         mov ebx,[ebp+0ch]
      ret					         mov ecx,[ebp+10h]
 endp						         leave
						         ret 0ch



 EXAMPLE 2: USING THE MODIFIED MACRO

 Proc TESTING param_1,param_2,param_3		TESTING: enter 0ch,0
      mov eax,[param_1]					 mov eax,[ebp+8h]
      mov ebx,[param_2]				         mov ebx,[ebp+0ch]
      mov ecx,[param_3]				         mov ecx,[ebp+10h]
      ret					         leave
 endp						         ret 0ch


 By Pirata [PHOENIX] Derek L.S. - 8th July 2009
						         
 